HIVE-29359: Support Credential Vending in Hive Iceberg REST Catalog Client#6474
Draft
difin wants to merge 1 commit into
Draft
HIVE-29359: Support Credential Vending in Hive Iceberg REST Catalog Client#6474difin wants to merge 1 commit into
difin wants to merge 1 commit into
Conversation
c092060 to
db520b9
Compare
db520b9 to
d3274be
Compare
d3274be to
d390532
Compare
|
d390532 to
f40686f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes were proposed in this pull request?
Extended Gravitino LLAP qtest (
TestIcebergRESTCatalogGravitinoLlapLocalCliDriver) to add a vended credentials header and run against MinIO + S3 warehouse with Gravitino s3-secret-key vending and OAuth2; configure host-side S3A and Iceberg S3FileIO for the published MinIO port so Tez/LLAP on the host work reliably.Updated Hive to pass vended credentials to executors using jobProperties and jobSecrets.
Why are the changes needed?
To enable vended credentials support with REST Catalog servers.
Does this PR introduce any user-facing change?
Yes. Users configuring an Iceberg REST catalog in Hive can set the header
iceberg.catalog.<name>.X-Iceberg-Access-Delegationon REST requests to enabled vended credentials.How was this patch tested?
Updated existing test with vended credentials testing:
TestHiveRESTCatalogClient: new unit tests for vended credentials header mapping.
TestIcebergRESTCatalogGravitinoLlapLocalCliDriver with Gravitino + MinIO + OAuth2 + credentials vending.